package ink.teamwork.stock.service;

import com.googlecode.genericdao.search.SearchResult;
import ink.teamwork.stock.entity.Strategy;

import java.util.List;

public interface StrategyService {

    boolean save(Strategy strategy);
    boolean update(Strategy strategy);
    SearchResult<Strategy> queryPageByUserId(int start, int size, String userId);
    List<Strategy> queryListByUserId(String userId);

}
